Efficient Backtracking in And-Parallel Implementations of Non-deterministic Languages
نویسندگان
چکیده
We consider the problem of eeciently supporting backtracking in independent and-parallel non-deterministic systems. We consider this problem in the context of logic programming, although the solution proposed is suuciently general to be applicable to any non-deterministic language or system. EEcient implementation of backtracking is a diicult task, the primary reason being that backtracking is an inherently sequential activity. Due to this complexity, most existing and-parallel systems either do not support backtracking over parallel calls or they perform very poorly on non-deterministic benchmarks. We propose an implementation model for eeciently supporting backtracking. Our model employs various optimizations, as well as a novel memory organization scheme in which processors are allowed to traverse each others' stacks to achieve this eeciency. The solution developed has been implemented in the ACE Parallel Prolog system. The performance of our implemented system is analyzed on a variety of non-deterministic benchmarks. The results achieved are remarkable: speedups achieved during forward execution are not lost in heavy backtracking activities and frequently super-linear speedups are obtained thanks to a semi-intelligent backtracking scheme.
منابع مشابه
Efficient implementation of low time complexity and pipelined bit-parallel polynomial basis multiplier over binary finite fields
This paper presents two efficient implementations of fast and pipelined bit-parallel polynomial basis multipliers over GF (2m) by irreducible pentanomials and trinomials. The architecture of the first multiplier is based on a parallel and independent computation of powers of the polynomial variable. In the second structure only even powers of the polynomial variable are used. The par...
متن کاملA High-Level Implementation of Non-deterministic, Unrestricted, Independent And-Parallelism
The growing popularity of multicore architectures has renewed interest in language-based approaches to the exploitation of parallelism. Logic programming has proved an interesting framework to this end, and there are parallel implementations which have achieved significant speedups, but at the cost of a quite sophisticated low-level machinery. This machinery has been found challenging to code a...
متن کاملDeterministic Fuzzy Automaton on Subclasses of Fuzzy Regular ω-Languages
In formal language theory, we are mainly interested in the natural language computational aspects of ω-languages. Therefore in this respect it is convenient to consider fuzzy ω-languages. In this paper, we introduce two subclasses of fuzzy regular ω-languages called fuzzy n-local ω-languages and Buchi fuzzy n-local ω-languages, and give some closure properties for those subclasses. We define a ...
متن کاملImproving Backward Execution in Non-Deterministic Concurrent Logic Languages
We present a new mechanism for improving the execution of non-deterministic concurrent logic languages, such as the Andorra family of languages. The basic idea is, upon failure and backtracking, to reschedule continuation goals in order to rst execute the goal that has failed. In this way, if the backtrack point is not pertinent to the failure, the original failing goal will fail again and this...
متن کاملImproving Backward Execution in the Andorra Family of Languages
We present a new mechanism for improving the execution of non-deterministic concurrent logic languages, such as the Andorra family of languages. The basic idea is, upon failure and backtracking, to reschedule continuation goals in order to rst execute the goal that has failed. In this way, if the backtrack point is not pertinent to the failure, the original failing goal will fail again and this...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1998